package com.operate.api.operate.dramas.dao;

import com.operate.api.app.dramas.domain.vo.*;
import com.operate.api.app.info.domain.vo.AppBannerSearchVO;
import com.operate.api.app.search.domain.vo.AppDramaSearchVO;
import com.operate.api.app.search.domain.vo.AppDramaVO;
import com.operate.api.operate.dramas.domain.po.DramasPO;
import com.operate.api.operate.dramas.domain.vo.DramasSearchVO;
import com.operate.api.operate.dramas.domain.vo.DramasVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@Repository
public interface DramasDao extends Mapper<DramasPO> {
    List<DramasVO> getList(DramasSearchVO searchVO);

    List<DramaTrailersVO> getTrailersList(DramaTrailersSearchVO searchVO);

    List<DramaCompanyVO> getCompanyDramas(DramaCompanySearchVO searchVO);

    List<AppDramaVO> getAppDramaList(AppDramaSearchVO searchVO);

    List<DramaCompanyVO> getCollectList(DramaCollectSearchVO searchVO);

    String getRandomOneId(AppRandomVideoSearchVO searchVO);

    DramaTrailersVO getTrailersDesc(@Param("id") String id);
}